package com.story.common.persistence.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class PayDetailDto  {
    @ExcelProperty(value = "id", index = 0)
    private Integer payDetailId;
    @ExcelProperty(value = "用户名", index = 2)
    private String userName;
    @ExcelProperty(value = "支付类型", index = 4)
    private String payType;
    @ExcelProperty(value = "备注", index = 7)
    private String remark;
    @ExcelProperty(value = "支付金额", index = 3)
    private BigDecimal payAmount;
    @ExcelProperty(value = "发生日期", index = 1)
    private Date createTime;
    @ExcelProperty(value = "会员开始日期", index = 5)
    private Date startTime;
    @ExcelProperty(value = "会员结束日期", index = 6)
    private Date endTime;
    private BigDecimal balance;
}